From 1182ebebec90d6bc77ec278a2d224c9e1f61c30e Mon Sep 17 00:00:00 2001 From: Kalita Alexey Date: Fri, 10 Feb 2017 12:35:20 +0300 Subject: [PATCH] Fixed tests --- tests/build.rs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/build.rs b/tests/build.rs index c37405e62..5d012b862 100644 --- a/tests/build.rs +++ b/tests/build.rs @@ -2600,14 +2600,24 @@ fn message_format_json_forward_stderr() { { "reason":"compiler-message", "package_id":"foo 0.5.0 ([..])", - "target":{"kind":["bin"],"name":"foo","src_path":"[..]"}, + "target":{ + "kind":["bin"], + "crate_types":["bin"], + "name":"foo", + "src_path":"[..]" + }, "message":"{...}" } { "reason":"compiler-artifact", "package_id":"foo 0.5.0 ([..])", - "target":{"kind":["bin"],"name":"foo","src_path":"[..]"}, + "target":{ + "kind":["bin"], + "crate_types":["bin"], + "name":"foo", + "src_path":"[..]" + }, "profile":{ "debug_assertions":true, "debuginfo":2, -- 2.30.2